package com.cal.calonecal.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Max;
import java.util.Date;

/**
 * @author 76004
 * @apiNote
 * @date 2023/6/6 0:37
 */
@Data
public class CreateClassDTO {

    private Long teacherId;

    private String className;

    private Integer grade;

    @Max(value = 500, message = "学生人数不能超过500人")
    private Integer maxStudents;
}
